package com.es.pay.grade.server;

/**
 * 用来决定一个列的数据是否有效的条件
 * @author xiaoyue
 *
 */
public class Config {
	public Config(String n,boolean nu,int len,Class c){
		this.name = n;
		this.isnull = nu;
		this.len = len;
		this.cls = c;
	}
	
	public Config(String n,boolean nu,int max,int min,Class c){
		this.name = n;
		this.isnull = nu;
		this.max = max;
		this.min = min;
		this.cls = c;
	}
	public Config(String n,boolean nu,Float m,Float mi,Class c) {
		this.name = n;
		this.isnull = nu;
		this.m = m;
		this.mi = mi;
		this.cls = c;
	}
	public String name;
    boolean isnull ;
    int len,max,min;
	public Class cls;
	Float m,mi;
}